import React from 'react';
import ReactDOM from 'react-dom';
import { BrowserRouter } from 'react-router-dom';  // 导入 BrowserRouter
import App from './App';
import './index.css';


ReactDOM.render(
  <BrowserRouter>  {/* 使用 BrowserRouter 包裹应用 */}
    <App />
  </BrowserRouter>,
  document.getElementById('root')
);
